<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><span class="EmptyRef">procedure</span> GetViewportScale(var ScaleX, ScaleY: Single);</p>
<h2>Description</h2>
<p class="Body">Returns the X and Y scale of the viewport. In the default implementation this equals the <a href="../../../../GR32_Image/Classes/TCustomImage32/Properties/ScaleX.htm">ScaleX</a> and <a href="../../../../GR32_Image/Classes/TCustomImage32/Properties/ScaleY.htm">ScaleY</a> property of the connected <a href="../../../../GR32_Image/Classes/TCustomImage32/_Body.htm">TCustomImage32</a> descendant.</p>
<p class="Body">Note: If you previously used CoordXForm property (now removed), use <span class="Decl">GetViewportScale</span> instead to retrieve the viewport scale. </p>
<p id="hidden">[See also]: <a href="../../../../../Additional%20Topics/Using%20TImage32/Using%20Layers.htm">Using 
  Layers</a></p>
</body>
</html>
